package com.graduate.nixingpotterty.controller;

import com.graduate.nixingpotterty.common.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :ZhengHao
 * @version :1.0
 * @since :2024-12-07  16:57
 */
@RestController("/user")
public class UserController {
    @ApiOperation(value = "获取时间", httpMethod = "GET") // 在这里添加注解
    @RequestMapping(value = "/showMsg", method = RequestMethod.GET)
    public R<String> showMsg(){
        return R.ok("hello world");
    }

}
